cmake_minimum_required(VERSION 3.20)

project(PinFlowTest)

set(CMAKE_CXX_STANDARD 17)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wpedantic")

include_directories(
    ${CMAKE_SOURCE_DIR}/include
)

include_directories(${CMAKE_SOURCE_DIR}/3rd/json/include)

add_subdirectory(${CMAKE_SOURCE_DIR}/examples)
add_subdirectory(${CMAKE_SOURCE_DIR}/src)